import request from "@/api/request.js";


export function getList() {
  return request({
    url: "/api/channel/getList",
    method: 'get',
  })
}

export function getListByParent(params) {
  return request({
    url: "/api/channel/getListByParent",
    method: 'get',
    data: params,
  })
}


export function getParentList() {
  return request({
    url: "/api/channel/getParentList",
    method: 'get',
  })
}


